package net.yambal.air.LeafletMap
{

    public class LatLng implements ILeafletObject{
        
        private var _lat:Number;
        private var _lng:Number;
        
        private var _leafLatLng:Object;
        
        public function LatLng(lat:Number, lng:Number){
            this._lat = lat;
            this._lng = lng;
            
            this._leafLatLng = LeafletCoreSinglton.instance.latLng(lat, lng);
        }
        
        public function get lat():Number{
            return this._leafLatLng.lat;
        }
        
        public function get lng():Number{
            return this._leafLatLng.lng;
        }
        
		public function get LeafObject():Object{
			return this._leafLatLng;
		}
    }
}